<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php 
	$newsArr = $this->db->select("blog.*")->from("blog")
						->join("blog_categories","blog.category_id=blog_categories.id")
						->where( array("blog_categories.slug" => 'news-feature' , "blog.status" => 'live') )
						->order_by('blog.created_on','desc')
						->limit(3)
						->get()->result();
?>
<div id="center_content" style="width:1015px;">
	<div class="clrboth"></div>
	<?php //$this->load->view('cricket/cricket/live_tournament'); ?>
	
	<div class="block" id="live_tournament_div">	
		<div class="clrboth"></div>
		<div class="content-wrap" id="div_live_tournament">
			<?php foreach($newsArr as $item):?>
				<div class="news-title">
					<h2><?php echo $item->title;?></h2>
				</div>
				<div class="news-body">
					<?php echo $item->body;?>
				</div>
			<?php endforeach;?>
			<div class="clrboth"></div>
			<div class="playnow" onclick="return queryURL('<?php echo site_url("cricket/tournament/live_tournament");?>');">
				<a href="javascript:void(0);" >&nbsp;</a>
			</div>
		 
			<div class="clrboth"></div>
		</div>
	</div>
	
	<div id="home-banner">
		{pyro:sys:homebanner}
	</div>
	
	<div class="clrboth"></div>	
	<?php $this->load->view('cricket/cricket/homepage_scoreboard'); ?>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		//setInterval("doReload()",120000);
	});
	
</script>